<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html class="wrap">
<head>
<meta charset="utf-8">
<title>题库管理</title>
<!--CSS 文件存放区域-->
<!--页面整体架构CSS文件-->
<link rel="stylesheet" href="css/pc/cores/style.css" />

<link href="css/public/list.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="css/pc/cores/alert.css" />

<link rel="stylesheet" href="css/pc/cores/noticeList.css" />

<link rel="stylesheet" href="css/public/fh.css" />

<!--当前页面的相关CSS文件-->
<link href="css/pc/cores/QuestionBank.css" rel="stylesheet" type="text/css">
<!--CSS 文件存放区域-->
</head>

<script type="text/javascript">
	var result = '${result}';
		result = JSON.parse(result);
</script>
<body>
<!--面包屑-->
<div class="crumbs">
<div class="index-img"></div>
  <a href="javascript:void(0)" class="sy"> 首页</a><label>></label><a href="#" class="mbx">题库管理</a>
  
</div>
<!--面包屑-->
<!--内容开始-->
<div class="content_box">
	
	<div class="content">
		
		<div class="title_nav">
		<div class="title_box_select fl" id="table_one">题库管理</div>
		<div class="title_box_select2 fl" id="table_two">生成试题</div>
	</div><div class="table_one" style="display: block">
		<div class="courseDiv">
			<span class="course">课程</span>
			
			<i class="colon">:</i>
			
			<select id="courseSearch" class="form-control"> 
					
				<option value ="">请搜索</option>

			</select>
		  </div>
		  <div class="findDiv ">
				<a href="javascript:void(0)" id="searchBtn" class="ba bsearch">查询</a>
			</div>
		<div class="button_box1">
			<a href="javascript:void(0)" class="ba button fr questionExcel">导入</a>
			<a href="javascript:void(0)" class="ba button fr" id="add">添加</a>
			<a href="xlsStandard/question.xls" class="ba button fr downloadM">下载模板</a>
			<div class="clear"></div>
		</div>
		<div class="table">
			<table>
		       <thead>
		         <tr class="thread">
		           <td>编号</td>
		           <td>&emsp;&emsp;问题</td>
		           <td>问题类型</td>
		           <td>操作</td>
		         </tr>
		       </thead>
		       <tbody class="questionList">
		         
		       </tbody> 
	      </table>
      </div>
		</div>
		<div class="page">
			
		        <div class="tcdPageCode"></div>
		        
	      </div>
		<div class="table_two" style="display:none">
			 <div class="option one">
			 	<div class="stDiv">
				 	 <span class="fl stkm public_title" id="stkm">试题科目</span>
				 	 <i class="colon">:</i>
				 	 <select class="class-list questionCourse">
						<option selected="">请选择</option>
				     </select>
			     </div>
			     <div class="sourceDiv">
				     <p class="score">总分数<b class="sumSource"></b></p>
				     <i class="colon">:</i>
				     <p class="sumSourceP"></p>
			     </div>
			     <div class="button_box onlineDiv">
				    <a href="javascript:void(0)" class="ba button onlineQuestion">在线预览</a>
			     </div>
		     </div>
		     <div class="two">
		     	<div class="two_one">
				     <div class="clear"></div>
				     <span class="fl public_title">选择题数量</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list optionCount test contentLength" maxlength="3">
				 	 <div class="clear"></div>
				     <span class="fl public_title">每道题分数</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list optionSorce test source contentLength" maxlength="3">
			 	 </div>
			 	 <div class="two_two">
				     <span class="fl public_title">判断题数量</span>
				     <i class="colon">:</i>
				 	  <input type="text" class="class-list judgeCount test contentLength" maxlength="3">
				 	   <div class="clear"></div>
				     <span class="fl public_title">每道题分数</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list judgeSource test source contentLength" maxlength="3">
			 	 </div>
			 	 <div class="two_three">
				     <span class="fl public_title">填空题数量</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list blanksCount test contentLength" maxlength="3">
				 	  <div class="clear"></div>
				     <span class="fl public_title">每道题分数</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list blanksSource test source contentLength" maxlength="3">
			 	 </div>
			 	 <div class="two_forth">
				     <span class="fl public_title">简答题数量</span>
				     <i class="colon">:</i>
				 	  <input type="text" class="class-list answerCount test contentLength" maxlength="3">
				 	   <div class="clear"></div>
				     <span class="fl public_title">每道题分数</span>
				     <i class="colon">:</i>
				 	 <input type="text" class="class-list answerSource test source contentLength" maxlength="3">
			 	 </div>
			     
		 </div> 
		  <div class="clear"></div>
		  <div class="button_box" style="text-align: center; margin-top: 20px;">
			<a href="javascript:void(0)" class="ba button getQuestion">生成试题</a>
			<div class="clear"></div>
		  </div>
		  <p class="TryPreview" style="display:none">试题预览</p>
		  <div>
		  	<img src="images/pc/cs.png" style="width: 80%;display:none;">
		  </div>
		  <div class="confBox">
			<div class="onTest public_btn">在线考试</div>
			<div class="timeBox">在线考试时间:<input maxlength="20" class=" " type="text" name="minite" id="minite" value="" />分钟</div>
			<!--<div class="classBox">&emsp;&emsp;考试班级:
				<select  class=" testClass" name="">
					<option value="0">请选择</option>
				</select>
			</div>-->
			
		</div>
		</div>
	</div>
	<div class="clear"></div>
	
</div>
<!--弹出层-->
<div class="modal-bg addmodal-bg"></div>
<div class="modal addmodal" id="model">
	<div class="top-bar">
		<div class="title">
			添加试题
		</div>
		<div class="close-btn">
		</div>
	</div>
	<div class="options" id="window_add" style="padding: 30px 50px;">
		<div class="sel-group">
			<span class="fl">试题类型</span>
			<i class="colon">:</i>
			<select class="class-list class-list_type" id="class-list">
				<option value="">请搜索</option>
				<option value=1>选择题</option>
				<option value=2>判断题</option>
				<option value=3>填空题</option>
				<option value=4>简答题</option>
			</select>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">课程名称</span>
			<i class="colon">:</i>
			<select class="courese-list class-list" id="courese-list">
				<option value="">请搜索</option>
			</select>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">试&emsp;&emsp;题</span>
			<i class="colon">:</i>
			<textarea  placeholder="试题" class="questionName test contentLength" maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="sel-group" class="xx" id="xx" style="display: none;">
			<span class="fl">选&emsp;&emsp;项</span>
			<i class="colon">:</i>
			<textarea  placeholder="选项" class="optionMsg test" maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">答&emsp;&emsp;案</span>
			<i class="colon">:</i>
			<textarea placeholder="答案" class="ansquesContent test contentLength" maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="button_box5" style="text-align: center">
			<a href="javascript:void(0)" class="ba button addBc">保存</a>
			<div class="clear"></div>
		</div>
	</div>
</div>

<div class="modal-bg savemodal-bg"></div>
<div class="modal savemodal">
	<div class="top-bar">
		<div class="title">
			修改试题
		</div>
		<div class="close-btn">
		</div>
	</div>
	<div class="options" style="padding: 30px 50px;">
		<div class="sel-group">
			<span class="fl">试题类型</span>
			<i class="colon">:</i>
			<select class="saveclass-list saveQustionType" id="saveclass-list" disabled="disabled">
				<option value="1">选择题</option>
				<option value="2">判断题</option>
				<option value="3">填空题</option>
				<option value="4">简答题</option>
			</select>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">课程名称</span>
			<i class="colon">:</i>
			<select class="savecourese-list list saveclass-list" id="savecourese-list">
				
			</select>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">试&emsp;&emsp;题</span>
			<i class="colon">:</i>
			<textarea  placeholder="试题" class="savequestionName test contentLength" maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="sel-group" class="savexx" id="savexx" style="display: none;">
			<span class="fl">选&emsp;&emsp;项</span>
			<i class="colon">:</i>
			<textarea  placeholder="选项" class="saveoptionMsg test contentLength"  maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="sel-group">
			<span class="fl">答&emsp;&emsp;案</span>
			<i class="colon">:</i>
			<textarea placeholder="答案" class="saveansquesContent test contentLength" maxlength="200"></textarea>
		</div>
		<div class="clear"></div>
		<div class="button_box5" style="text-align: center">
			<input type="hidden" class="questionId"/>
			<a href="javascript:void(0)" class="ba button saveBc">保存</a>
			<div class="clear"></div>
		</div>
	</div>
</div>
<div class="bg"></div> 
		<div class="fixed_box">
	    <h1>选择文件</h1>
	    <div class="fixed_content">
		<form class="form-horizontal" action="imQuestion" method="post" name="form1" id="form1" enctype="multipart/form-data">
	      <a class="btn_addPic" href="javascript:void(0);"><span><em>+</em>添加文件</span> <input class="filePrew" title="支持.xls格式，文件小于5M" type="file" size="3" name="file" id="exc" >      </a>
	      <span class="excelSpan"></span>
	      <div class="button_box">
	         <a href="javascript:void(0)" type="submit" class="submit" id="ba">导入</a> 
	        <a href="javascript:void(0)" class="result" id="qx" style="margin-left:14px;">取消</a>
	      </div>
	     </form>
    </div>
  </div>
  <!--<div class="masking"></div>-->
	<div id="textBox">
	</div>
	
	
	<!--<a href="javascript:void(0);" class="tclose"><img src="images/pc/close.png"></a>-->
<!--弹出层-->
<!--内容结束-->
<!--JS 文件存放区-->
<!--Jquery 压缩包-->
<script type="text/javascript" src="js/public/jquery-1.11.2.min.js" ></script>

<script src="js/pc/cores/jquery.cookie.js"></script>
		
<script src="js/pc/cores/delogin.js"></script>
		
<script src="js/public/jquery.page.js"></script>

<script type="text/javascript" src="js/public/verification.js" ></script>

<script type="text/javascript" src="js/pc/cores/button.js" ></script>

<script type="text/javascript" src="js/pc/cores/Alert.js" ></script>

<script type="text/javascript" src="js/public/frame.js" ></script>

<script type="text/javascript" src="js/pc/cores/noticeShow.js" ></script>
<!--当前页面的相关JS文件-->
<script src="js/pc/cores/QuestionBank.js"></script>
<!--JS 文件存放区-->
</body>
</html>